package com.pig.mapper;

import com.pig.entity.AccountLogEntity;
import com.pig.pojo.AccounInfoPojo;
import com.pig.pojo.AccountLogPojo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 日志
 */
@Repository
public interface AccountLogMapper {

    /**
     * 添加用户日志
     * @return
     */
    public Integer insertAccountLog(AccountLogEntity accountLogEntity);

    /**
     * 查询用户日志
     * @return
     */
    public List<AccountLogPojo> queryAccountLog(@Param("accountId") Integer accountId);
}
